/**
 * 
 */
package cn.eclass.utils;

import java.util.ArrayList;

/**
 * @author Administrator
 *
 */
public class ConstantsConf {
    //index page constants:
    public static int noL3Cats_IndexPage = 6;
    public static int noL1Cats_IndexPage = 6; //0 is no limit;
    public static int catLengthPerLine_IndexPage = 30; // This is how many characters in total per row in hot category box.
    public static int catL3NameMaxLen_IndexPage = 12; //This is the max length of any level 3 hot cat max length. 
    public static int catL1NameMaxLen_IndexPage = 8; //This is the max length of any level 1 hot cat max length. 
    public static int customizeL1Cat_IndexPage = 1; //1 for yes, 0 for no. not effective yet.
    public static int ITEMS_PER_PAGE = 12;//category school_link list 
    //gift page constants:
    public static int columnsPerPage = 4;
    public static int rowsPerPage = 2;
    
    //usubmit page:
    //没拿到正确的密保问题。
    public static String noCorrectPswAnswer = "密保问题或答案不正确";
    public static String formatError = "表格填写格式错误";
    public static String sysError = "系统维护";
    
    //order price vs points exchange ratio.
    public static int ratio = 100;
    
    
    //constants:
    public static final String SESSION_USERNAME = "username";
    public static final String REQUEST_USERENTITY = "userEnt";
    
    public static final int STATUS_VALID = 1; // not used, just for reference.
    public static final int STATUS_INVALID = 0; // not used, just for reference.
    public static String String_Valid = "已核实";
    public static String String_InValid = "未核实";

    //session property names constants:
    public static final String SCHOOLORDERLIST = "schoolOrderList";
    public static final String SCHOOLORDERTOTALPOINTS = "schoolOrderTotalPoints";
    public static final String GIFTORDERLIST = "giftOrderList";
    public static final String GIFTORDERTOTALPOINTS = "giftOrderTotalPoints";
    
    //
    public static void readConfFile() {
        //if conf file exists, read it.
    }
}
